/***************************** BEGIN LICENSE BLOCK ***************************

 The contents of this file are subject to the Mozilla Public License Version
 1.1 (the "License"); you may not use this file except in compliance with
 the License. You may obtain a copy of the License at
 http://www.mozilla.org/MPL/MPL-1.1.html
 
 Software distributed under the License is distributed on an "AS IS" basis,
 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 for the specific language governing rights and limitations under the License.
 
 The Original Code is the "EO-SPS Framework".
 
 The Initial Developer of the Original Code is Spotimage S.A.
 Portions created by the Initial Developer are Copyright (C) 2007
 the Initial Developer. All Rights Reserved.
 
 Contributor(s): 
    Alexandre Robin <alexandre.robin@spotimage.fr>
 
******************************* END LICENSE BLOCK ***************************/

package com.spotimage.eosps;

import java.util.ArrayList;
import java.util.List;
import org.vast.ows.OWSResponse;
import org.vast.util.TimeInfo;


/**
 * <p><b>Title:</b>
 * GetSensorAvailbility Response
 * </p>
 *
 * <p><b>Description:</b><br/>
 * Container for a EO-SPS GetSensorAvailability response
 * </p>
 *
 * <p>Copyright (c) 2010</p>
 * @author Alexandre Robin <alexandre.robin@spotimage.fr>
 * @date July 19, 2010
 * @version 1.0
 */
public class GetSensorAvailabilityResponse extends OWSResponse
{
	protected TimeInfo responsePeriod;
	protected List<TimeInfo> availabilityPeriods;
	
	
	public GetSensorAvailabilityResponse()
	{
		this.service = EOSPSUtils.EOSPS;
        this.messageType = "GetSensorAvailabilityResponse";
        this.availabilityPeriods = new ArrayList<TimeInfo>();
	}


	public TimeInfo getResponsePeriod()
	{
		return responsePeriod;
	}


	public void setResponsePeriod(TimeInfo responsePeriod)
	{
		this.responsePeriod = responsePeriod;
	}


	public List<TimeInfo> getAvailabilityPeriods()
	{
		return availabilityPeriods;
	}


	public void setAvailabilityPeriods(List<TimeInfo> availabilityPeriods)
	{
		this.availabilityPeriods = availabilityPeriods;
	}
}
